﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/NoticeUI/NoticeMaster.Master"
    AutoEventWireup="true" CodeBehind="ViewNotice.aspx.cs" Inherits="HRM.UI.NoticeUI.ViewNotice" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
    <link href="../../Styles/Notice/NoticeCss.css" rel="stylesheet" type="text/css" />
    <table class="MainNoticeTB">
        <tr>
            <td id="showMainNotice">
                <table class="shownoticePartTB">
                    <tr>
                        <td class="noticeHeadLine">
                            <div id="noticeTitle">
                                <asp:Label runat="server" ID="noticeTitleLabel"></asp:Label>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="noticeByName">
                            <div id="noticeBy">
                                <asp:Label runat="server" ID="lblNoticeBy"></asp:Label>
                                <asp:Label runat="server" ID="lblDate"></asp:Label>
                                <hr />
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="noticeSummery">
                            <div id="noticeBody">
                                <asp:Label runat="server" ID="lblSummary"></asp:Label>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div id="noticeImage">
                                <asp:Image Width="100%" Height="100%" runat="server" ID="imgNotice" />
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
            <td id="OldNoticeList">
                 <div id="backLink" align="right"><a href="../../default.aspx">Back To Login Page</a></div>
                <br/><br/><br/>
                <table class="oldNoticePartTB">
                    <tr>
                        <td colspan="2">
                            <asp:GridView runat="server" ID="NoticeGridView" Width="100%" AutoGenerateColumns="False"
                                CssClass="GridviewStyle" OnPageIndexChanging="NoticeGridView_PageIndexChanging"
                                AllowPaging="True" PageSize="20" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
                                BorderWidth="1px" CellPadding="3">
                                <Columns>
                                    <asp:TemplateField HeaderText="Notice Title">
                                        <ItemTemplate>
                                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("Id","~/UI/NoticeUI/ViewNotice.aspx?id={0}") %>'
                                                Text='<%# Eval("Subject") %>'></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="Date" HeaderText="Published Date" />
                                </Columns>
                                <FooterStyle CssClass="GridViewFooterStyle" />
                                <HeaderStyle CssClass="GridViewHeaderStyle" />
                                <PagerStyle CssClass="GridViewFooterStyle" HorizontalAlign="Center" />
                                <RowStyle ForeColor="#000066" />
                                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                <SortedAscendingHeaderStyle BackColor="#007DBB" />
                                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                <SortedDescendingHeaderStyle BackColor="#00547E" />
                            </asp:GridView>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
